package com.tao.china.common.http.porxy.impl;

import com.tao.china.common.http.HttpClientUtil;
import com.tao.china.common.http.porxy.PorxyEntry;
import com.tao.china.common.http.porxy.PorxyService;


public class PorxyServiceImpl implements PorxyService {

    private static final String userName = "liusuper2088@163.com";
    
    private static final String passWord = "156456";
    /** 想要提取的HTTP代理数**/
    static int total = 1;
    
    static String url = "http://www.dqwu.info/api.php?action=get_proxy&username="+userName+"&password="+passWord+"&total="+total+"&filter=on&nation=on";
    
    //第三方API... 
    @Override
    public PorxyEntry searchEnablePorxy() {
        HttpClientUtil.getWithBackStream(url, "utf-8");;
        return null;
    }

}
